package org.jeecg.modules.quartz.job;

import lombok.extern.slf4j.Slf4j;
import org.jeecg.common.util.DateUtils;
import org.jeecg.modules.quartz.service.IChargeService;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;

@Slf4j
public class ChargeOrderReviewTask implements Job {

    @Autowired
    private IChargeService iChargeService;

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        log.info(DateUtils.now()+":开始调用获取订单交易记录");
        iChargeService.queryTransList();
        log.info("调用完成");
    }
}
